import request from '@/utils/request'
// letf
export function trucksCar (data) {
  return request({
    url: '/nc-server/road/trucks-basic-info/trucks/car',
    method: 'post',
    data
  })
}

export function truckspPerson (data) {
  return request({
    url: '/nc-server/road/trucks-basic-info/trucks/person',
    method: 'post',
    data
  })
}

export function household (data) {
  return request({
    url: '/nc-server/road/trucks-basic-info/trucks/household',
    method: 'post',
    data
  })
}

export function station (data) {
  return request({
    url: '/nc-server/road/trucks-basic-info/trucks/station',
    method: 'post',
    data
  })
}
// center

export function roadhome (data) {
  return request({
    url: '/nc-server/road/homeBasicInfo/roadhome',
    method: 'post',
    data
  })
}

export function oil (data) {
  return request({
    url: '/nc-server/road/taxi-special-data/oil',
    method: 'post',
    data
  })
}

export function HomeTable (data) {
  return request({
    url: '/nc-server/road/homeOperationData/HomeTable',
    method: 'post',
    data
  })
}

// right

export function completePerson (data) {
  return request({
    url: '/nc-server/road/driving-training-operational-data/completePerson',
    method: 'post',
    data
  })
}

export function trainPerson (data) {
  return request({
    url: '/nc-server/road/driving-training-operational-data/trainPerson',
    method: 'post',
    data
  })
}

export function coach (params) {
  return request({
    url: '/nc-server/road/driving-training-operational-data/drivingTraining/coach',
    method: 'get',
    params
  })
}
